import 'package:fluro/fluro.dart';
import 'package:flutter_buisiness_2006a/router/detail_handler.dart';

//Router的配置
class Routers{
  static String root = '/';//跳转的根目录
  static String detailPage ='/detail';//商品详情目录
  static void configureRouter(FluroRouter router){
    router.notFoundHandler =Handler(handlerFunc: (context,parameters){
      print('ERROR==============>当前Router没找到');
      return null;
    });
    router.define(detailPage, handler: detailHandler);
  }
}